
  function wait(seconds) {
      const waitSeconds = new Promise((resolve,reject)=> {
          setTimeout((seconds)=> {
              resolve("5 seconds passed")
          },seconds*1000)

      })
      return waitSeconds
  }
  (async function() {
      console.log('begin.')
      await wait(5)
      console.log('5 seconds eslaped')
  })
  